<template>
    <div>
        <div class="content" v-for="(obj,index) in all" :key="index">
        {{index}}:{{JSON.stringify(obj)}}
        </div>
    </div>
</template>
<script>
 import axios from "axios"
export default {
    setup() {
    },
    data(){
        return{
            all:[]
        }
    },
      methods:{
        getArticleList(){
            axios.get("/test").then((res)=>{
                console.log(res);
                this.all=res.data
            })
        },
      },
      created(){
            this.getArticleList()
    },
}
</script>